from env import init_logger

from env import app
from env import logger
from controller import oj

from scrapy.crawler import CrawlerProcess
from scrapy.utils.project import get_project_settings
import crawl.spiders as sp
if __name__ == "__main__":
    # init_routers()
    init_logger()
    logger.info("Start")
    app.register_blueprint(oj)
    app.run(host="0.0.0.0", port=9753)
